(function(angular) {
'use strict';

  angular.module('ngPrettyJson')
  .run(['$templateCache', function ($templateCache) {
    $templateCache.put('ng-prettyjson/ng-prettyjson-panel.tmpl.html',
        '<div class="json-panel">\n' +
        '  <div class="json-button">\n' +
        '    <button type="button" class="btn btn-primary btn-xs" ng-click="edit()" ng-show="edition && !editActivated">\n' +
        '        <i class="fa fa-pencil"></i></button><button type="button" class="btn btn-default btn-xs" ng-click="edit()" ng-show="edition && editActivated">\n' +
        '        <i class="fa fa-reply"></i></button><button type="button" class="btn btn-success btn-xs" ng-click="update()" ng-show="editActivated && parsable">\n' +
        '        <i class="fa fa-check"></i></button>\n' +
        '  </div>\n' +
        '  <pre class="pretty-json" id="{{id}}"></pre>\n' +
        '</div>');
  }]);

})(window.angular);